
<template>
 <div>
  <BasicTable @register="registerTable">
    <template #toolbar>
   </template>

  </BasicTable>
 </div>
</template>
<script lang="ts">
  import { defineComponent } from 'vue';
  export default defineComponent({
    name: 'SysFileInfo',
  });
</script>
<script lang="ts" setup>
  import { ref } from 'vue';
  import { usePermission } from '@/hooks/web/usePermission';
  import { BasicTable, useTable, TableAction } from '@/components/Table';
  import {   page,    } from '@/api/dev/sysFileInfoManage';
  import { useMessage } from '@/hooks/web/useMessage';
  import { columns, searchFormSchema } from './data';
  const { hasPermission } = usePermission();
  const [registerTable, { reload }] = useTable({
    title: '列表',
    api:  page ,
    columns,
    formConfig: {
     labelWidth: 120,
     schemas: searchFormSchema,
     baseColProps: { span: 6 },
    },
    useSearchForm: true,
    showTableSetting: true,
    bordered: true,
    showIndexColumn: false,
   });
</script>
